package com.spring.nio.core.event.model;

/**
 * @author: YSFY
 * @date: 2021-03-24 14:28
 * @pacage_name: com.spring.nio.core.event.model
 * @class_name: EventModelEnum
 * @description: NIO事件类型枚举
 */
public enum EventModelEnum {

    CHAT_EVENT_ACCEPTOR("CHAT.TASK.ACCEPTOR", "聊天事件"),
    FILE_UPLOAD_EVENT_ACCEPTOR("FILE.UPLOAD.TASK.ACCEPTOR", "文件上传事件"),
    FILE_DOWNLOAD_EVENT_ACCEPTOR("FILE.DOWNLOAD.TASK.ACCEPTOR", "文件下载事件");

    private String name;

    private String description;

    EventModelEnum(String name, String description) {
        this.name = name;
        this.description = description;
    }

    public String getName() {
        return name;
    }

    public String getDescription() {
        return description;
    }
}
